package com.sky.task;

import java.util.Date;

//@Component
public class MySpringTask {

    //@Scheduled(cron="*/5 * * * * ?")
    public void log(){
        System.out.println("定时任务执行了====> "+ new Date());
    }
}
